// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'


// 引入myaxios
import myaxios from '@/assets/js/myaxios'
Vue.use(myaxios)


Vue.config.productionTip = false

//引入重置样式、公共样式
import './assets/css/reset.css'
import './assets/css/common.css'


//引入自适应
import './assets/js/rem.js'
import commonFunction from './assets/js/commonFunction';   //引入文件
Vue.prototype.commonFunction = commonFunction;   // 绑定到vue上面

//引入echarts
import * as echarts from 'echarts';
import 'echarts/extension/bmap/bmap';
Vue.prototype.$echarts = echarts

// // 引入地图
import "echarts/lib/chart/map.js"
import "echarts/map/js/china.js"
import 'echarts/map/js/world.js'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
